-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make s3 client able to report read window offset #971
Conversation
Signed-off-by: Monthon Klongklaew <[email protected]>
Signed-off-by: Monthon Klongklaew <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it looks good overall, there's some feedback on improvements we can make to improve the documentation and error messages.
Sorry it took a while, still catching up on the backpressure changes.
Signed-off-by: Monthon Klongklaew <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for updating the errors for empty part window.
There's one small nit, I am happy for it to follow up in the next PR
Signed-off-by: Monthon Klongklaew <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Description of change
A few changes to make the GetObject request able to report current read window offset when backpressure is enabled and also make it return error instead of blocking when there is not enough read window. This is a part of bigger change (#926) but I would like to split it up into smaller PRs.
Does this change impact existing behavior?
No, backpressure is disabled by default and we don't use it in mountpoint today.
Does this change need a changelog entry in any of the crates?
Yes, updated changelog for mountpoint-s3-client.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).